// hexworld.cc

#include <cassert>
#include "hexworld.h"


static const string resource_name[5] = {
  "wood",
  "brick",
  "wheat",
  "sheep",
  "ore",
};

const string &Resource::Name(int resource) {

  assert(0 <= resource && resource < kNumResources);

  return resource_name[resource];
}
